package com.jt.demo51.pp01;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceImpl implements Service1{

    @Autowired
    private UserDao userDao;

    @Override
    public void amazed() {
//        System.out.println("拓展1");
//        userDao.addUser();
//        System.out.println("拓展2");

        System.out.println("入库成功");
    }
}
